package portal.monitor.dao.mapper;

import org.apache.ibatis.annotations.Param;
import portal.monitor.dao.MonitorHost;

import java.util.List;

public interface MonitorHostMapper {

    Integer insert(MonitorHost record);

    int deleteByPrimaryKey(Integer hostId);

    Object deleteByPrimaryKeys(Integer[] hostIds);

    int updateByPrimaryKey(MonitorHost record);

    MonitorHost selectByPrimaryKey(Integer hostId);

    List<MonitorHost> selectAll();

    List<MonitorHost> selectByPage(@Param("currentPosition") Integer currentPage, @Param("onePageCount") Integer onePageCount);

    int hostNum();
}